<?php

/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model \common\models\LoginForm */

use yii\helpers\Html;
use yii\bootstrap\ActiveForm;

$this->title = '用户注册';
//$this->params['breadcrumbs'][] = $this->title;

$this->registerJsFile('/js/jquery.min.js');
$this->registerJsFile('/js/layer/layer.js?v=1.0.0');

$this->registerCssFile('/css/user/login.css?v=1.0.6');
$this->registerJsFile('/js/user/signup.js?v=1.0.1');
?>
<div class="mobile-login-outter">
    <div class="register-title">
        账号注册<br/>
        ACCOUNT REGISTRATION
    </div>
    <form action="/site/signup" method="post" id="signup-form">
        <div class="item-outter">
            <div  class="item-label"><i class="user-account"></i></div>
            <div  class="item-input"><input type="text" id="username" name="username" placeholder="请输入用户名"/></div>
        </div>
        <div class="item-outter">
            <div  class="item-label"><i class="user-mobile"></i></div>
            <div  class="item-input"><input type="text" id="mobile" name="mobile" placeholder="请输入手机号"/></div>
        </div>
        <div class="item-outter">
            <div  class="item-label"><i class="user-mobile"></i></div>
            <div  class="item-input-code"><input type="text" id="code" name="code" placeholder="验证码"/></div>
            <div  class="item-input-getcode">
                <input type="button" class="getcode" id="getcode" value="获取验证码"/>
                <input type="hidden" name="hashcode" id="hashcode"/></div>
        </div>
        <div class="item-outter">
            <div  class="item-label"><i class="user-password"></i></div>
            <div  class="item-input"><input type="password" id="passwd" name="passwd" placeholder="请输入密码"/></div>
        </div>

        <div class="item-outter">
            <div  class="item-label"><i class="user-password"></i></div>
            <div  class="item-input"><input type="password" id="re_passwd" name="re_passwd" placeholder="确认密码"/></div>
        </div>
        <div class="login-button" id="signup-submit">注&nbsp;&nbsp;册</div>
    </form>
</div>
